#随机数生成
function skyblock:tool_rng
function skyblock:dv/dv_creeper_summon_diff

execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=1..20,rng4=1}] run summon blaze -89981 101 56 {PersistenceRequired:1,Tags:["15MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier3",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:3.0},{Name:generic.max_health,Base:15.0},{Name:generic.movement_speed,Base:0.14}],Health:15.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=21..30,rng4=1}] run summon blaze -89981 101 56 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:4.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.15}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=31..45,rng4=1}] run summon blaze -89981 101 56 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:5.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.16}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=46..,rng4=1}] run summon blaze -89981 101 56 {PersistenceRequired:1,Tags:["30MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier5",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:6.0},{Name:generic.max_health,Base:30.0},{Name:generic.movement_speed,Base:0.17}],Health:30.0f,CustomName:"\"？？？\""}

execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=1..20,rng4=4}] run summon blaze -90021 101 56 {PersistenceRequired:1,Tags:["15MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier3",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:3.0},{Name:generic.max_health,Base:15.0},{Name:generic.movement_speed,Base:0.14}],Health:15.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=21..30,rng4=4}] run summon blaze -90021 101 56 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:4.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.15}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=31..45,rng4=4}] run summon blaze -90021 101 56 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:5.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.16}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=46..,rng4=4}] run summon blaze -90021 101 56 {PersistenceRequired:1,Tags:["30MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier5",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:6.0},{Name:generic.max_health,Base:30.0},{Name:generic.movement_speed,Base:0.17}],Health:30.0f,CustomName:"\"？？？\""}

execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=1..20,rng4=2}] run summon blaze -90001 101 76 {PersistenceRequired:1,Tags:["15MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier3",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:3.0},{Name:generic.max_health,Base:15.0},{Name:generic.movement_speed,Base:0.14}],Health:15.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=21..30,rng4=2}] run summon blaze -90001 101 76 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:4.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.15}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=31..45,rng4=2}] run summon blaze -90001 101 76 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:5.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.16}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=46..,rng4=2}] run summon blaze -90001 101 76 {PersistenceRequired:1,Tags:["30MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier5",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:6.0},{Name:generic.max_health,Base:30.0},{Name:generic.movement_speed,Base:0.17}],Health:30.0f,CustomName:"\"？？？\""}

execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=1..20,rng4=3}] run summon blaze -90001 101 36 {PersistenceRequired:1,Tags:["15MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier3",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:3.0},{Name:generic.max_health,Base:15.0},{Name:generic.movement_speed,Base:0.14}],Health:15.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=21..30,rng4=3}] run summon blaze -90001 101 36 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:4.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.15}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=31..45,rng4=3}] run summon blaze -90001 101 36 {PersistenceRequired:1,Tags:["20MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier4",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:5.0},{Name:generic.max_health,Base:20.0},{Name:generic.movement_speed,Base:0.16}],Health:20.0f,CustomName:"\"？？？\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_DVCreeD=46..,rng4=3}] run summon blaze -90001 101 36 {PersistenceRequired:1,Tags:["30MAXHP"],DeathLootTable:"skyblock:defendcreeper_money_tier5",Attributes:[{Name:generic.knockback_resistance,Base:1.0},{Name:generic.follow_range,Base:25.0},{Name:generic.armor,Base:6.0},{Name:generic.max_health,Base:30.0},{Name:generic.movement_speed,Base:0.17}],Health:30.0f,CustomName:"\"？？？\""}